package com.lib.application;

import com.lib.model.WxAccount;
import com.lib.repository.WxAccountReponsitory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by duqingxiang on 17/5/23.
 */
@Service
public class WxAccountService {

    @Autowired
    WxAccountReponsitory wxAccountReponsitory;

    public WxAccount findWxAccountByOpenId(String openId) {
        return wxAccountReponsitory.findWxAccountByOpenId(openId);
    }

}
